Alfresco Index of Web Scripts URI '/api/wcm/webprojects/{webprojectref}'
Alfresco Community v3.2.0 (2039)
3 Web Scripts

Back to Web Scripts Home

Up to uri /api/wcm/webprojects

/api/wcm/webprojects/{webprojectref}/memberships
/api/wcm/webprojects/{webprojectref}/memberships/{username}
/api/wcm/webprojects/{webprojectref}/sandboxes
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxRef}
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/modified
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/reverter
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/submitter

Delete Web Project
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}
Description:Delete a single WCM web project and its contents,
webprojectref specifies which project to delete and will have been returned by a prior call to get, create or list web project.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/wcm/webproject.delete
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.delete.desc.xml

Get Web Project
GET /alfresco/service/api/wcm/webprojects/{webprojectref}
Description:Get a single WCM web project in JSON format.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/wcm/webproject.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.get.desc.xml

Update Web Project
PUT /alfresco/service/api/wcm/webprojects/{webprojectref}
Description:Update a single WCM web project
webprojectref is the unique reference returned by an earlier call to list, get or create web project
The following fields are may be updated in the body of the request:
  • name
  • title
  • description
  • isTemplate

    • Returns 200 STATUS_OK, the body of the return will contain the updated web project.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/wcm/webproject.put
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.put.desc.xml